package com.rran.study.designpattern.behavioral.template.factory;


import com.rran.study.designpattern.behavioral.template.repository.ShoppingPersonRepository;
import com.rran.study.designpattern.behavioral.template.service.Shopping;

/**
 * @author yy
 * @Type ShoppingSpringFactory.java
 * @Desc
 * @date 2020/7/21 13:00
 */
public class ShoppingSpringFactory {

    public static Shopping getShopping(String beanName) {
        return ShoppingPersonRepository.getShopping(beanName);
    }
}
